package com.smforj.ssm.modules.sys.domain;

import com.smforj.ssm.frame.core.bean.BaseBean;

/***
 * User and role correspondence
 * 
 * @author Haijun Gao 
 * @date 2017-5-8 下午4:21:48
 * @desp http://www.cnblogs.com/saga5998/
 * @email 573107773@qq.com
 */
public class UserRole extends BaseBean{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5641632920300998873L;
	
	private String id;
	private String remark; 
	
	private SysUser user;
	private Role role;
	
	/***
	 * get user
	 * @return
	 * @date 2017-5-8 下午4:21:18
	 */
	public SysUser getUser() {
		return user;
	}

	/***
	 * set user
	 * @param user
	 * @date 2017-5-8 下午4:21:26
	 */
	public void setUser(SysUser user) {
		this.user = user;
	}

	/***
	 * get role
	 * @return
	 * @date 2017-5-8 下午4:21:32
	 */
	public Role getRole() {
		return role;
	}

	/***
	 * set role
	 * @param role
	 * @date 2017-5-8 下午4:21:39
	 */
	public void setRole(Role role) {
		this.role = role;
	}

	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id; 
	}
	
	/***
	 * get remark
	 * @return remark
	 * @date 2017-5-8 下午4:08:45
	 */
	public String getRemark() {
		return remark;
	}
	/***
	 * set remark
	 * @param remark
	 * @date 2017-5-8 下午4:20:19
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	} 
}
